<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="/tld/dictionary" prefix="dictionary"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" href="${ctx}/static/css/style.css" type="text/css" /> 
<link rel="stylesheet" href="${ctx}/static/css/style1.css" type="text/css" /> 
<link rel="stylesheet" href="${ctx}/static/css/kongjian.css" type="text/css" /> 
<script src="${ctx}/static/script/jquery-1.4.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="${ctx}/static/css/jquery.ui.all.css">
	<script src="${ctx}/static/script/jquery.ui.core.js"></script>
	<script src="${ctx}/static/script/jquery.ui.datepicker.js"></script>
	<title>银行帐户列表</title>
	<script>
		function confirmDelete(itemId){
			 if(confirm("确认删除?"))
				{
					window.location.href="${ctx}/crm/customerInfo/bankInfo/delete/"+itemId;
				}
		}
	
	</script>
</head>

<body>
	<div class="er_banner">银行卡管理</div>
	<div clas="yiban" style="text-align:left;padding-left:3px;margin-top:10px;">
			<p><a href="${ctx}/crm/customerInfo/${customerId}/bankInfoForm" class="ggkj_btnNormal1" >
			<span class="ggkj_btnNormal_span"><input name="" type="button" value="新增 " class="ggkj_btnInner1" onclick="window.location=('${ctx}/crm/customerInfo/${customerId}/bankInfoForm');"/></span>
			</a>
			</p>
	  </div>
	<div class="yiban">
			<table id="contentTable" style="width:100%;" class="ggkj_table"  border="0" cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<th>开户行</th>
						<th>银行帐号</th>
						<th>状态</th>
					</tr>
				</thead>
				 
				<tbody>
					<c:forEach items="${bankInfoList}" var="item">
						<tr>
							<td><dictionary:display code="${item.bankName}"/>${item.subbranch}</td>
							<td><a href="${ctx}/crm/customerInfo/${customerId}/bankInfoForm/${item.id}">${item.accNo}</a></td>
							<td><c:if test="${item.status==1}">启用</c:if><c:if test="${item.status==9}">禁用</c:if></td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
			<br/>
			 <input name="" type="" class="quxiao_big" value="&nbsp;&nbsp;返回" onclick="window.location=('${ctx}/crm/list?p=history');"/>
	</div>
</body>
</html>
